import { httpGet, httpPost } from "../utils/http"
import base from "./base"


/**
 * 
 */

const api = {
    getChengpin() {
        return httpGet(base.ownUrl + base.chengpin);
    },
    getLogin(params){
        console.log(params);
        return httpPost(base.ownUrl + base.login,params)
    }
}    

export default api